﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace ex5
{
    public static class XMLCommands
    {
        private static RoutedUICommand newFile;
        private static RoutedUICommand openFile;
        private static RoutedUICommand saveFile;
        private static RoutedUICommand saveFileAs;

        static XMLCommands()
        {
            newFile = new RoutedUICommand("Add New File", "NewFile", typeof(XMLCommands));
            openFile = new RoutedUICommand("Open File", "OpenFile", typeof(XMLCommands));
            saveFile = new RoutedUICommand("Save File", "SaveFile", typeof(XMLCommands));
            saveFileAs = new RoutedUICommand("Save File As", "SaveFileAs", typeof(XMLCommands));
        }

        public static RoutedUICommand NewFile
        {
            get { return newFile; }
        }

        public static RoutedUICommand OpenFile
        {
            get { return openFile; }
        }


        public static RoutedUICommand SaveFile
        {
            get { return saveFile; }
        }


        public static RoutedUICommand SaveFileAs
        {
            get { return saveFileAs; }
        }

    }
}
